﻿using System;

namespace TShooter.TfsSearch.EngineModel
{
    public delegate void DocumentCrawledEventHandler(object sender, DocumentCrawledEventArgs e);

    public class DocumentCrawledEventArgs: EventArgs
    {
        private readonly DocumentReference _Reference;

        public DocumentCrawledEventArgs(DocumentReference reference)
        {
            _Reference = reference;
        }

        public int ID
        {
            get { return _Reference.ID; }
        }

        public int Revision
        {
            get { return _Reference.Revision; }
        }
    }
}
